Home
last modified time | relevance | path

Searched hist:"174 b16946e39ebd369097e0f773536c91a8c1a4c" (Results 1 – 3 of 3) sorted by path

/linux/include/uapi/linux/
H A Dbpf.hdiff 174b16946e39ebd369097e0f773536c91a8c1a4c Wed Mar 02 12:13:58 CET 2022 Roberto Sassu <roberto.sassu@huawei.com> bpf-lsm: Introduce new helper bpf_ima_file_hash()

ima_file_hash() has been modified to calculate the measurement of a file on
demand, if it has not been already performed by IMA or the measurement is
not fresh. For compatibility reasons, ima_inode_hash() remains unchanged.

Keep the same approach in eBPF and introduce the new helper
bpf_ima_file_hash() to take advantage of the modified behavior of
ima_file_hash().

Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220302111404.193900-4-roberto.sassu@huawei.com
/linux/kernel/bpf/
H A Dbpf_lsm.cdiff 174b16946e39ebd369097e0f773536c91a8c1a4c Wed Mar 02 12:13:58 CET 2022 Roberto Sassu <roberto.sassu@huawei.com> bpf-lsm: Introduce new helper bpf_ima_file_hash()

ima_file_hash() has been modified to calculate the measurement of a file on
demand, if it has not been already performed by IMA or the measurement is
not fresh. For compatibility reasons, ima_inode_hash() remains unchanged.

Keep the same approach in eBPF and introduce the new helper
bpf_ima_file_hash() to take advantage of the modified behavior of
ima_file_hash().

Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220302111404.193900-4-roberto.sassu@huawei.com
/linux/tools/include/uapi/linux/
H A Dbpf.hdiff 174b16946e39ebd369097e0f773536c91a8c1a4c Wed Mar 02 12:13:58 CET 2022 Roberto Sassu <roberto.sassu@huawei.com> bpf-lsm: Introduce new helper bpf_ima_file_hash()

ima_file_hash() has been modified to calculate the measurement of a file on
demand, if it has not been already performed by IMA or the measurement is
not fresh. For compatibility reasons, ima_inode_hash() remains unchanged.

Keep the same approach in eBPF and introduce the new helper
bpf_ima_file_hash() to take advantage of the modified behavior of
ima_file_hash().

Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220302111404.193900-4-roberto.sassu@huawei.com